Hello,
Now, let’s see an example of laravel 10 telescope installation. I would like to show you how to install telescope laravel 10. This tutorial will give you a simple example of laravel 10 install telescope step by step. This post will give you a simple example of laravel 10 telescope install example. Alright, let’s dive into the steps.
Laravel Telescope is a powerful debug assistant tool for Laravel applications, developed by the Laravel team. It provides insight into the inner workings of an application during development, making it easier for developers to debug and optimize their code. Telescope provides a web interface that allows developers to monitor various aspects of their application in real-time, including requests, queries, jobs, exceptions, and logs. It also allows for the creation of custom monitoring tools that can be used to track any aspect of the application.
So, here i will give you simple step of how to install telescope in your laravel app and how it looks after install.
Install Laravel Telescope Package
Install telescope for with following command:
composer require laravel/telescope
you can also install for specific environment:
composer require laravel/telescope --dev
Install Telescope
after install package, we have to install telescope by using following command that will create migration files and configuration file.
php artisan telescope:install
now let’s run following command to create tables for telescope.
php artisan migrate
now you are ready to run telescope. so let’s run project:
php artisan serve
open bellow url
Read Also: Laravel 10 Ajax File Upload with Progress Bar Tutorial
localhost:8000/telescope/requests
you can see bellow screen shot of telescope:
What features provide by telescope?
- Requests
- Commands
- Schedule
- Jobs
- Batches
- Cache
- Dumps
- Events
- Exceptions
- Gates
- Logs
- Models
- Notifications
- Queries
- Redis
- Views
I hope it can help you…